<%-- 
    Document   : actionTourservice
    Created on : Nov 13, 2012, 8:29:00 PM
    Author     : Nguyen Hung
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <script type="text/javascript" language="javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){
            $j(".closeimgC350").live("click",function(){
                 //  alert("alo");
                $j(this).parent().parent().parent().removeClass("activeicon");
            });
            $j(".checkC270").live("click",function(){
                pc207 = $j(this).attr("lang");
                var link = null;
                if( $j(this).is(':checked')){
                    link = "listpageC350.jsp?action=getPc270&pc270="+pc207+"&cn274=1";
                    $j.post(link,function(data){
                      
                    
                    });
                    $j(this).parent().addClass("classaddC425");
                }else{
                    link = "listpageC350.jsp?action=getPc270&pc270="+pc207+"&cn274=0";
                    $j.post(link,function(data){
                        if(data!=null){
                        
                        }
                    
                    });
                    $j(this).parent().removeClass("classaddC425");
                   
                }
                
                
            });
        });
    </script>
    <style>
        .classaddC425{
            background-color: #559AAA !important;
        }
       
        .closeimgC350{
            margin-left: -4%;
            margin-top: -3%;
            position: absolute;
            float:right;
            cursor: pointer;
            z-index: 999;
        }
    </style>
    <body>
        <f:view>
            <a4j:form>
               
                <div style="float: right;"> <h:graphicImage styleClass="closeimgC350" value="../images/fancy_close.png"/></div>
                <h:panelGroup id="listC270">
                    <a4j:repeat  value="#{c270Controller.c270listoftab}" var="item">
                        <div class="itemaddClassC425 <h:outputText rendered="#{item.cn274==1}" value="classaddC425"/>" >
                          

                                <h:selectBooleanCheckbox value="#{item.flagCV}" styleClass="checkC270" lang="#{item.pc270}" style="float:left;margin-left:2%;margin-top:1%;">
                                   
                                </h:selectBooleanCheckbox>
                          
                            <h:outputText style="float:left;line-height:20px;margin-left:2%;" value="#{item.cv271}"/>
                        </div>

                    </a4j:repeat>
                </h:panelGroup>
                <rich:modalPanel styleClass="pleaseimage" id="statPane" autosized="true" minHeight="10" minWidth="80"
                                 height="10" width="80" zindex="2000">
                    <h:graphicImage value="/images/loadingAnimation.gif" alt="ai" />
                </rich:modalPanel>

            </a4j:form>
        </f:view>
    </body>
</html>